package com.moli.iov.handle.worker.his.lmax;

/**
 * Coroutine Task for disruptor.
 *
 * @author OAK
 * @since 2020/01/16 16:46 PM.
 * @version 3.0.1
 *
 */
@FunctionalInterface
public interface DisruptorTask<T> {
    /**
     * When an object implementing interface <code>Runnable</code> is used
     * to create a thread, starting the thread causes the object's
     * <code>run</code> method to be called in that separately executing
     * thread.
     * <p>
     * The general contract of the method <code>subscribe</code> is that it may
     * take any action whatsoever.
     *T
     */
    public abstract void subscribe(T params);
}
